<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!--WARNING: This file is maintained by ROO! IT WILL BE OVERWRITTEN unless you specify null	@RooWebScaffold(automaticallyMaintainView = false) in the governing controller-->
<jsp:directive.include file="/WEB-INF/jsp/includes.jsp"/>
<jsp:directive.include file="/WEB-INF/jsp/header.jsp"/>
<script type="text/javascript">dojo.require("dijit.TitlePane");</script>
<div dojoType="dijit.TitlePane" style="width: 100%" title="Show Story">
    <c:if test="${not empty story}">
        <div id="roo_story_estimate">
            <label for="_estimate">Estimate:</label>
            <div id="_estimate">${story.estimate}</div>
        </div>
        <br/>
        <div id="roo_story_description">
            <label for="_description">Description:</label>
            <div id="_description">${story.description}</div>
        </div>
        <br/>
        <div id="roo_story_tasks">
            <label for="_tasks">Tasks:</label>
            <div id="_tasks">
                <c:forEach items="${story.tasks}" var="task">
                    ${task.description},
                </c:forEach>
            </div>
        </div>
        <br/>
        <div id="roo_story_theme">
            <label for="_theme">Theme:</label>
            <div id="_theme">${story.theme.title}</div>
        </div>
        <br/>
    </c:if>
    <c:if test="${empty story}">No Story found with this id.</c:if>
</div>
<jsp:directive.include file="/WEB-INF/jsp/footer.jsp"/>
